from django.db import models

# Create your models here.
class Author(models.Model):
        name = models.CharField(max_length=50)
        date_of_birth = models.DateField()

        class Meta:
                ordering = ('name',)

        def __unicode__(self):
                return self.name
